package com.hqq.service;

import com.hqq.domain.WoocUser;

/**
 * WoocUserService
 * Created by heqianqian on 2018/3/25.
 */
public interface WoocUserService {

    /**
     * 检查登录
     *
     * @param name
     * @param pwd
     * @return
     * @throws Exception
     */
    WoocUser checkLogin(String name, String pwd, Integer type) throws Exception;

    /**
     * 保存用户信息
     *
     * @param userName
     * @param pwd
     * @throws Exception
     */
    WoocUser saveUser(String userName, String pwd) throws Exception;
}
